<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.Behaviour.Behaviour</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.Behaviour-module.html">Module&nbsp;Behaviour</a> ::
        Class&nbsp;Behaviour
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.Behaviour.Behaviour-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Behaviour</h1><p class="nomargin-top"><span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour">source&nbsp;code</a></span></p>
<center>
  <div class="private"><center>  <map id="uml_class_diagram_for_spade_be_3" name="uml_class_diagram_for_spade_be_3">
<area shape="rect" id="node1" href="spade.Unit.Unit.GetModeratorListBehaviour-class.html" title="spade.Unit.Unit.GetModeratorListBehaviour" alt="" coords="347,822,597,861"/>
<area shape="rect" id="node2" href="spade.AMS.AMS.RegisterBehaviour-class.html" title="spade.AMS.AMS.RegisterBehaviour" alt="" coords="627,822,835,861"/>
<area shape="rect" id="node3" href="spade.Organization_new.Organization_new.IsMemberBehaviour-class.html" title="spade.Organization_new.Organization_new.IsMemberBehaviour" alt="" coords="864,822,1232,861"/>
<area shape="rect" id="node4" href="spade.Unit.Unit.GetAdminListBehaviour-class.html" title="spade.Unit.Unit.GetAdminListBehaviour" alt="" coords="1261,822,1491,861"/>
<area shape="rect" id="node5" href="spade.Organization.Organization.GetUnitInfoBehaviour-class.html" title="spade.Organization.Organization.GetUnitInfoBehaviour" alt="" coords="1520,822,1835,861"/>
<area shape="rect" id="node6" href="spade.Unit.Unit-class.html" title="spade.Unit.Unit" alt="" coords="1864,822,1952,861"/>
<area shape="rect" id="node50" href="spade.Organization.Organization-class.html" title="spade.Organization.Organization" alt="" coords="1815,881,2001,919"/>
<area shape="rect" id="node7" href="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour" alt="" coords="1981,822,2299,861"/>
<area shape="rect" id="node8" href="spade.RPC.RPCClientBehaviour-class.html" title="spade.RPC.RPCClientBehaviour" alt="" coords="2328,822,2517,861"/>
<area shape="rect" id="node9" href="spade.Behaviour.FSMBehaviour-class.html" title="this behavior is executed according to a Finite State Machine" alt="" coords="13447,763,13569,802"/>
<area shape="rect" id="node10" href="spade.Unit_new.Unit_new.RevokeVoiceBehaviour-class.html" title="spade.Unit_new.Unit_new.RevokeVoiceBehaviour" alt="" coords="2547,822,2837,861"/>
<area shape="rect" id="node11" href="spade.Unit.Unit.PresenceBehaviour.MinAgentsBehaviour-class.html" title="spade.Unit.Unit.PresenceBehaviour.MinAgentsBehaviour" alt="" coords="2867,822,3195,861"/>
<area shape="rect" id="node12" href="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour" alt="" coords="3224,822,3557,861"/>
<area shape="rect" id="node13" href="spade.Unit_new.Unit_new.GetBanAgentListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetBanAgentListBehaviour" alt="" coords="3587,822,3899,861"/>
<area shape="rect" id="node14" href="spade.Unit.Unit.KickAgentBehaviour-class.html" title="spade.Unit.Unit.KickAgentBehaviour" alt="" coords="3928,822,4139,861"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.name" alt="" coords="14723,95,14891,113"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.ident" alt="" coords="14723,113,14891,132"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.daemon" alt="" coords="14723,132,14891,151"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="repr(x)" alt="" coords="14723,153,14891,172"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.start" alt="" coords="14723,172,14891,191"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.join" alt="" coords="14723,191,14891,209"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.isAlive" alt="" coords="14723,209,14891,228"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.is_alive" alt="" coords="14723,228,14891,247"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.isDaemon" alt="" coords="14723,247,14891,265"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.setDaemon" alt="" coords="14723,265,14891,284"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="14723,284,14891,303"/>
<area shape="rect" id="node85" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="14723,303,14891,321"/>
<area shape="rect" id="node15" href="javascript:void(0);" title="threading.Thread" alt="" coords="14711,70,14903,327"/>
<area shape="rect" id="node84" href="spade.MessageReceiver.MessageReceiver-class.html#postMessage" title="spade.MessageReceiver.MessageReceiver.postMessage" alt="" coords="14699,380,14915,399"/>
<area shape="rect" id="node65" href="spade.MessageReceiver.MessageReceiver-class.html" title="spade.MessageReceiver.MessageReceiver" alt="" coords="14687,347,14927,405"/>
<area shape="rect" id="node16" href="spade.Platform.SpadePlatform.RouteBehaviour-class.html" title="spade.Platform.SpadePlatform.RouteBehaviour" alt="" coords="13599,763,13871,802"/>
<area shape="rect" id="node17" href="spade.Unit_new.Unit_new.GetInfoBehaviour-class.html" title="spade.Unit_new.Unit_new.GetInfoBehaviour" alt="" coords="4168,822,4424,861"/>
<area shape="rect" id="node18" href="spade.fipa.modifyServiceBehaviour-class.html" title="spade.fipa.modifyServiceBehaviour" alt="" coords="4453,822,4656,861"/>
<area shape="rect" id="node19" href="spade.Organization_new.Organization_new.SendRegistrationFormBehaviour-class.html" title="spade.Organization_new.Organization_new.SendRegistrationFormBehaviour" alt="" coords="4685,822,5125,861"/>
<area shape="rect" id="node20" href="spade.fipa.ModifyAgentBehaviour-class.html" title="spade.fipa.ModifyAgentBehaviour" alt="" coords="5155,822,5347,861"/>
<area shape="rect" id="node21" href="spade.Unit_new.Unit_new.SetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.SetGoalBehaviour" alt="" coords="5376,822,5635,861"/>
<area shape="rect" id="node22" href="spade.Organization.Organization.DestroyBehaviour-class.html" title="spade.Organization.Organization.DestroyBehaviour" alt="" coords="5664,822,5957,861"/>
<area shape="rect" id="node23" href="spade.Unit_new.Unit_new.KickAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.KickAgentBehaviour" alt="" coords="5987,822,6259,861"/>
<area shape="rect" id="node24" href="spade.Unit_new.Unit_new.PresenceBehaviour-class.html" title="spade.Unit_new.Unit_new.PresenceBehaviour" alt="" coords="13900,763,14167,802"/>
<area shape="rect" id="node25" href="spade.Unit_new.Unit_new.AddAdminBehaviour-class.html" title="spade.Unit_new.Unit_new.AddAdminBehaviour" alt="" coords="6288,822,6560,861"/>
<area shape="rect" id="node26" href="spade.peer2peer.SendStreamInitiationBehav-class.html" title="spade.peer2peer.SendStreamInitiationBehav" alt="" coords="6589,822,6845,861"/>
<area shape="rect" id="node27" href="spade.Unit_new.Unit_new.SetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMinAgentsBehaviour" alt="" coords="6875,822,7168,861"/>
<area shape="rect" id="node28" href="spade.DF.DF.SearchBehaviour-class.html" title="spade.DF.DF.SearchBehaviour" alt="" coords="7197,822,7376,861"/>
<area shape="rect" id="node29" href="spade.Platform.SpadePlatform.GetMembersBehav-class.html" title="spade.Platform.SpadePlatform.GetMembersBehav" alt="" coords="7405,822,7696,861"/>
<area shape="rect" id="node30" href="spade.fipa.registerServiceBehaviour-class.html" title="spade.fipa.registerServiceBehaviour" alt="" coords="7725,822,7931,861"/>
<area shape="rect" id="node31" href="spade.Unit.Unit.RemoveOwnerBehaviour-class.html" title="spade.Unit.Unit.RemoveOwnerBehaviour" alt="" coords="7960,822,8197,861"/>
<area shape="rect" id="node32" href="spade.Organization_new.Organization_new.CreateRoomBehaviour-class.html" title="spade.Organization_new.Organization_new.CreateRoomBehaviour" alt="" coords="8227,822,8611,861"/>
<area shape="rect" id="node33" href="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour" alt="" coords="8640,822,8939,861"/>
<area shape="rect" id="node34" href="spade.Unit.Unit.GetGoalBehaviour-class.html" title="spade.Unit.Unit.GetGoalBehaviour" alt="" coords="8968,822,9165,861"/>
<area shape="rect" id="node35" href="spade.Unit_new.Unit_new.MyJoinRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.MyJoinRoomBehaviour" alt="" coords="9195,822,9483,861"/>
<area shape="rect" id="node36" href="spade.Unit_new.Unit_new.CreateRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.CreateRoomBehaviour" alt="" coords="9512,822,9797,861"/>
<area shape="rect" id="node37" href="spade.Organization_new.Organization_new.CreateTeamBehaviour-class.html" title="spade.Organization_new.Organization_new.CreateTeamBehaviour" alt="" coords="9827,822,10208,861"/>
<area shape="rect" id="node38" href="spade.DF.DF.RegisterBehaviour-class.html" title="spade.DF.DF.RegisterBehaviour" alt="" coords="10237,822,10424,861"/>
<area shape="rect" id="node39" href="spade.Unit.Unit.AddAdminBehaviour-class.html" title="spade.Unit.Unit.AddAdminBehaviour" alt="" coords="10453,822,10664,861"/>
<area shape="rect" id="node40" href="spade.Behaviour.EventBehaviour-class.html" title="A behaviour that is executed in response to a certain event." alt="" coords="10693,822,10821,861"/>
<area shape="rect" id="node45" href="spade.RPC.RPCServerBehaviour-class.html" title="spade.RPC.RPCServerBehaviour" alt="" coords="10193,881,10388,919"/>
<area shape="rect" id="node69" href="spade.socialnetwork.RosterBehaviour-class.html" title="spade.socialnetwork.RosterBehaviour" alt="" coords="10417,881,10633,919"/>
<area shape="rect" id="node72" href="spade.peer2peer.DiscoBehaviour-class.html" title="spade.peer2peer.DiscoBehaviour" alt="" coords="10663,881,10852,919"/>
<area shape="rect" id="node111" href="spade.peer2peer.StreamInitiationBehaviour-class.html" title="spade.peer2peer.StreamInitiationBehaviour" alt="" coords="10881,881,11127,919"/>
<area shape="rect" id="node125" href="spade.socialnetwork.PresenceBehaviour-class.html" title="spade.socialnetwork.PresenceBehaviour" alt="" coords="11156,881,11388,919"/>
<area shape="rect" id="node41" href="spade.Unit.Unit.SetMaxAgentsBehaviour-class.html" title="spade.Unit.Unit.SetMaxAgentsBehaviour" alt="" coords="10851,822,11088,861"/>
<area shape="rect" id="node42" href="spade.Organization_new.Organization_new.GetUnitListBehaviour-class.html" title="spade.Organization_new.Organization_new.GetUnitListBehaviour" alt="" coords="11117,822,11493,861"/>
<area shape="rect" id="node43" href="spade.Unit_new.Unit_new.TestRoomNameBehaviour-class.html" title="spade.Unit_new.Unit_new.TestRoomNameBehaviour" alt="" coords="11523,822,11832,861"/>
<area shape="rect" id="node44" href="spade.Organization.Organization.IsMemberBehaviour-class.html" title="spade.Organization.Organization.IsMemberBehaviour" alt="" coords="11861,822,12168,861"/>
<area shape="rect" id="node46" href="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour" alt="" coords="12197,822,12496,861"/>
<area shape="rect" id="node47" href="spade.AMS.AMS.ModifyBehaviour-class.html" title="spade.AMS.AMS.ModifyBehaviour" alt="" coords="12525,822,12725,861"/>
<area shape="rect" id="node48" href="spade.Unit.Unit.GetOwnerListBehaviour-class.html" title="spade.Unit.Unit.GetOwnerListBehaviour" alt="" coords="12755,822,12984,861"/>
<area shape="rect" id="node49" href="spade.Organization.Organization.GetRegistrationFormBehaviour-class.html" title="spade.Organization.Organization.GetRegistrationFormBehaviour" alt="" coords="13013,822,13381,861"/>
<area shape="rect" id="node51" href="spade.Behaviour.PeriodicBehaviour-class.html" title="this behavior runs periodically with a period" alt="" coords="14196,763,14337,802"/>
<area shape="rect" id="node93" href="spade.Behaviour.TimeOutBehaviour-class.html" title="this behavior is executed only once after a timeout" alt="" coords="5,822,149,861"/>
<area shape="rect" id="node104" href="spade.bdi.BDIBehaviour-class.html" title="spade.bdi.BDIBehaviour" alt="" coords="179,822,317,861"/>
<area shape="rect" id="node52" href="spade.Unit.Unit.CreateRoomBehaviour-class.html" title="spade.Unit.Unit.CreateRoomBehaviour" alt="" coords="13411,822,13635,861"/>
<area shape="rect" id="node53" href="spade.Unit_new.Unit_new.GetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.GetGoalBehaviour" alt="" coords="13664,822,13925,861"/>
<area shape="rect" id="node54" href="spade.Unit.Unit.PresenceBehaviour-class.html" title="spade.Unit.Unit.PresenceBehaviour" alt="" coords="14367,763,14572,802"/>
<area shape="rect" id="node55" href="spade.Organization.Organization.TestRoomNameBehaviour-class.html" title="spade.Organization.Organization.TestRoomNameBehaviour" alt="" coords="13955,822,14299,861"/>
<area shape="rect" id="node56" href="spade.AMS.AMS.SearchBehaviour-class.html" title="spade.AMS.AMS.SearchBehaviour" alt="" coords="14328,822,14528,861"/>
<area shape="rect" id="node57" href="spade.Unit_new.Unit_new.AddBanAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.AddBanAgentBehaviour" alt="" coords="14557,822,14851,861"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="14504,457,15108,476"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#done" title="returns True if the behavior has finished else returns False" alt="" coords="14504,476,15108,495"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#exitCode" title="returns the default exit code for the behavior" alt="" coords="14504,495,15108,513"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#getAgent" title="returns the agent which controls the behavior" alt="" coords="14504,513,15108,532"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#getParent" title="spade.Behaviour.Behaviour.getParent" alt="" coords="14504,532,15108,551"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#kill" title="stops the behavior" alt="" coords="14504,551,15108,569"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#managePresence" title="DEPRECATED manage a FIPA&#45;formed presence message" alt="" coords="14504,569,15108,588"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#onEnd" title="this method runs when the behavior stops" alt="" coords="14504,588,15108,607"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#onStart" title="this method runs when the behavior starts" alt="" coords="14504,607,15108,625"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#registerPresenceHandler" title="DEPRECATED register a handler that will manage all incoming presence &#160;notifications matching the given presence template" alt="" coords="14504,625,15108,644"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#root" title="spade.Behaviour.Behaviour.root" alt="" coords="14504,644,15108,663"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#run" title="spade.Behaviour.Behaviour.run" alt="" coords="14504,663,15108,681"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#setAgent" title="sets the agent which controls the behavior" alt="" coords="14504,681,15108,700"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#setParent" title="spade.Behaviour.Behaviour.setParent" alt="" coords="14504,700,15108,719"/>
<area shape="rect" id="node83" href="spade.Behaviour.Behaviour-class.html#setTemplate" title="Set the message template for this behaviour" alt="" coords="14504,719,15108,737"/>
<area shape="rect" id="node58" href="spade.Behaviour.Behaviour-class.html" title="spade.Behaviour.Behaviour" alt="" coords="14492,425,15119,743"/>
<area shape="rect" id="node68" href="spade.DF.DF.DefaultBehaviour-class.html" title="spade.DF.DF.DefaultBehaviour" alt="" coords="14601,763,14783,802"/>
<area shape="rect" id="node94" href="spade.SIMBA.SIMBA.InboxBehaviour-class.html" title="Behaviour that routes incoming SIMBA messages" alt="" coords="14812,763,15031,802"/>
<area shape="rect" id="node95" href="spade.Behaviour.OneShotBehaviour-class.html" title="this behavior is only executed once" alt="" coords="15060,763,15204,802"/>
<area shape="rect" id="node100" href="spade.AMS.AMS.DefaultBehaviour-class.html" title="spade.AMS.AMS.DefaultBehaviour" alt="" coords="15233,763,15436,802"/>
<area shape="rect" id="node114" href="spade.peer2peer.P2PBehaviour-class.html" title="spade.peer2peer.P2PBehaviour" alt="" coords="15465,763,15647,802"/>
<area shape="rect" id="node115" href="spade.AMS.AMS.DefaultBehaviour.SubscribeBehaviour-class.html" title="spade.AMS.AMS.DefaultBehaviour.SubscribeBehaviour" alt="" coords="15676,763,15999,802"/>
<area shape="rect" id="node120" href="spade.SIMBA.SIMBA.OutboxBehaviour-class.html" title="Behaviour that routes outgoing SIMBA messages" alt="" coords="16028,763,16257,802"/>
<area shape="rect" id="node59" href="spade.Unit.Unit.GetMinAgentsBehaviour-class.html" title="spade.Unit.Unit.GetMinAgentsBehaviour" alt="" coords="14880,822,15112,861"/>
<area shape="rect" id="node60" href="spade.Unit.Unit.RemoveModeratorBehaviour-class.html" title="spade.Unit.Unit.RemoveModeratorBehaviour" alt="" coords="15141,822,15397,861"/>
<area shape="rect" id="node61" href="spade.Unit.Unit.RevokeVoiceBehaviour-class.html" title="spade.Unit.Unit.RevokeVoiceBehaviour" alt="" coords="15427,822,15656,861"/>
<area shape="rect" id="node62" href="spade.DF.DF.ModifyBehaviour-class.html" title="spade.DF.DF.ModifyBehaviour" alt="" coords="15685,822,15861,861"/>
<area shape="rect" id="node63" href="spade.pubsub.PubSub._sendAndReceiveBehav-class.html" title="spade.pubsub.PubSub._sendAndReceiveBehav" alt="" coords="15891,822,16165,861"/>
<area shape="rect" id="node64" href="spade.Unit_new.Unit_new.GetMemberListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMemberListBehaviour" alt="" coords="16195,822,16496,861"/>
<area shape="rect" id="node66" href="spade.Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour" alt="" coords="16525,822,16917,861"/>
<area shape="rect" id="node67" href="spade.AMS.AMS.PlatformBehaviour-class.html" title="spade.AMS.AMS.PlatformBehaviour" alt="" coords="16947,822,17155,861"/>
<area shape="rect" id="node70" href="spade.Unit.Unit.AddModeratorBehaviour-class.html" title="spade.Unit.Unit.AddModeratorBehaviour" alt="" coords="17184,822,17416,861"/>
<area shape="rect" id="node71" href="spade.Organization_new.Organization_new.MyJoinRoomBehaviour-class.html" title="spade.Organization_new.Organization_new.MyJoinRoomBehaviour" alt="" coords="17445,822,17832,861"/>
<area shape="rect" id="node73" href="spade.Unit.Unit.SendPrivateMessageBehaviour-class.html" title="spade.Unit.Unit.SendPrivateMessageBehaviour" alt="" coords="17861,822,18136,861"/>
<area shape="rect" id="node74" href="spade.fipa.SearchAgentBehaviour-class.html" title="spade.fipa.SearchAgentBehaviour" alt="" coords="18165,822,18360,861"/>
<area shape="rect" id="node75" href="spade.Unit.Unit.SendMessageBehaviour-class.html" title="spade.Unit.Unit.SendMessageBehaviour" alt="" coords="18389,822,18621,861"/>
<area shape="rect" id="node76" href="spade.Unit.Unit.RemoveBanAgentBehaviour-class.html" title="spade.Unit.Unit.RemoveBanAgentBehaviour" alt="" coords="18651,822,18907,861"/>
<area shape="rect" id="node77" href="spade.Organization_new.Organization_new.DestroyBehaviour-class.html" title="spade.Organization_new.Organization_new.DestroyBehaviour" alt="" coords="18936,822,19293,861"/>
<area shape="rect" id="node78" href="spade.Unit_new.Unit_new.GetModeratorListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetModeratorListBehaviour" alt="" coords="19323,822,19635,861"/>
<area shape="rect" id="node79" href="spade.fipa.getPlatformInfoBehaviour-class.html" title="spade.fipa.getPlatformInfoBehaviour" alt="" coords="19664,822,19872,861"/>
<area shape="rect" id="node80" href="spade.Organization_new.Organization_new.TestRoomNameBehaviour-class.html" title="spade.Organization_new.Organization_new.TestRoomNameBehaviour" alt="" coords="19901,822,20307,861"/>
<area shape="rect" id="node81" href="spade.Organization.Organization.MyJoinRoomBehaviour-class.html" title="spade.Organization.Organization.MyJoinRoomBehaviour" alt="" coords="20336,822,20661,861"/>
<area shape="rect" id="node82" href="spade.Unit_new.Unit_new.GetAdminListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetAdminListBehaviour" alt="" coords="20691,822,20981,861"/>
<area shape="rect" id="node83" href="spade.Unit.Unit.GetInfoBehaviour-class.html" title="spade.Unit.Unit.GetInfoBehaviour" alt="" coords="21011,822,21203,861"/>
<area shape="rect" id="node84" href="spade.Unit_new.Unit_new-class.html" title="spade.Unit_new.Unit_new" alt="" coords="21232,822,21381,861"/>
<area shape="rect" id="node123" href="spade.Organization_new.Organization_new-class.html" title="spade.Organization_new.Organization_new" alt="" coords="21183,881,21431,919"/>
<area shape="rect" id="node85" href="spade.fipa.deregisterServiceBehaviour-class.html" title="spade.fipa.deregisterServiceBehaviour" alt="" coords="21411,822,21632,861"/>
<area shape="rect" id="node86" href="spade.Unit.Unit.MyJoinRoomBehaviour-class.html" title="spade.Unit.Unit.MyJoinRoomBehaviour" alt="" coords="21661,822,21888,861"/>
<area shape="rect" id="node87" href="spade.Organization.Organization.GetUnitListBehaviour-class.html" title="spade.Organization.Organization.GetUnitListBehaviour" alt="" coords="21917,822,22232,861"/>
<area shape="rect" id="node88" href="spade.Unit_new.Unit_new.AddModeratorBehaviour-class.html" title="spade.Unit_new.Unit_new.AddModeratorBehaviour" alt="" coords="22261,822,22555,861"/>
<area shape="rect" id="node89" href="spade.Organization.Organization.CreateTeamBehaviour-class.html" title="spade.Organization.Organization.CreateTeamBehaviour" alt="" coords="22584,822,22904,861"/>
<area shape="rect" id="node90" href="spade.Unit.Unit.DestroyBehaviour-class.html" title="spade.Unit.Unit.DestroyBehaviour" alt="" coords="22933,822,23131,861"/>
<area shape="rect" id="node91" href="spade.Unit_new.Unit_new.GetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMinAgentsBehaviour" alt="" coords="23160,822,23456,861"/>
<area shape="rect" id="node92" href="spade.Unit_new.Unit_new.RemoveModeratorBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveModeratorBehaviour" alt="" coords="23485,822,23805,861"/>
<area shape="rect" id="node96" href="spade.Unit.Unit.RemoveAdminBehaviour-class.html" title="spade.Unit.Unit.RemoveAdminBehaviour" alt="" coords="23835,822,24072,861"/>
<area shape="rect" id="node97" href="spade.Organization_new.Organization_new.GetRegistrationFormBehaviour-class.html" title="spade.Organization_new.Organization_new.GetRegistrationFormBehaviour" alt="" coords="24101,822,24533,861"/>
<area shape="rect" id="node98" href="spade.Unit_new.Unit_new.RemoveAdminBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveAdminBehaviour" alt="" coords="24563,822,24861,861"/>
<area shape="rect" id="node99" href="spade.Unit.Unit.AddBanAgentBehaviour-class.html" title="spade.Unit.Unit.AddBanAgentBehaviour" alt="" coords="24891,822,25120,861"/>
<area shape="rect" id="node101" href="spade.Unit.Unit.GetMaxAgentsBehaviour-class.html" title="spade.Unit.Unit.GetMaxAgentsBehaviour" alt="" coords="25149,822,25387,861"/>
<area shape="rect" id="node102" href="spade.Unit.Unit.GetBanAgentListBehaviour-class.html" title="spade.Unit.Unit.GetBanAgentListBehaviour" alt="" coords="25416,822,25664,861"/>
<area shape="rect" id="node103" href="spade.Unit_new.Unit_new.DestroyBehaviour-class.html" title="spade.Unit_new.Unit_new.DestroyBehaviour" alt="" coords="25693,822,25952,861"/>
<area shape="rect" id="node105" href="spade.peer2peer.RequestDiscoInfoBehav-class.html" title="spade.peer2peer.RequestDiscoInfoBehav" alt="" coords="25981,822,26221,861"/>
<area shape="rect" id="node106" href="spade.Unit.Unit.TestRoomNameBehaviour-class.html" title="spade.Unit.Unit.TestRoomNameBehaviour" alt="" coords="26251,822,26496,861"/>
<area shape="rect" id="node107" href="spade.Unit.Unit.GiveVoiceBehaviour-class.html" title="spade.Unit.Unit.GiveVoiceBehaviour" alt="" coords="26525,822,26736,861"/>
<area shape="rect" id="node108" href="spade.Unit.Unit.GetNumberOfAgentsBehaviour-class.html" title="spade.Unit.Unit.GetNumberOfAgentsBehaviour" alt="" coords="26765,822,27037,861"/>
<area shape="rect" id="node109" href="spade.Organization.Organization.SendRegistrationFormBehaviour-class.html" title="spade.Organization.Organization.SendRegistrationFormBehaviour" alt="" coords="27067,822,27445,861"/>
<area shape="rect" id="node110" href="spade.Unit_new.Unit_new.GetOwnerListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetOwnerListBehaviour" alt="" coords="27475,822,27768,861"/>
<area shape="rect" id="node112" href="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour-class.html" title="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour" alt="" coords="27797,822,28133,861"/>
<area shape="rect" id="node113" href="spade.fipa.searchServiceBehaviour-class.html" title="spade.fipa.searchServiceBehaviour" alt="" coords="28163,822,28365,861"/>
<area shape="rect" id="node116" href="spade.Unit.Unit.GetMemberListBehaviour-class.html" title="spade.Unit.Unit.GetMemberListBehaviour" alt="" coords="28395,822,28635,861"/>
<area shape="rect" id="node118" href="spade.Unit.Unit.AddOwnerBehaviour-class.html" title="spade.Unit.Unit.AddOwnerBehaviour" alt="" coords="28664,822,28875,861"/>
<area shape="rect" id="node119" href="spade.Organization.Organization.CreateRoomBehaviour-class.html" title="spade.Organization.Organization.CreateRoomBehaviour" alt="" coords="28904,822,29227,861"/>
<area shape="rect" id="node121" href="spade.Unit_new.Unit_new.SendMessageBehaviour-class.html" title="spade.Unit_new.Unit_new.SendMessageBehaviour" alt="" coords="29256,822,29552,861"/>
<area shape="rect" id="node122" href="spade.Unit.Unit.SetGoalBehaviour-class.html" title="spade.Unit.Unit.SetGoalBehaviour" alt="" coords="29581,822,29779,861"/>
<area shape="rect" id="node124" href="spade.Unit_new.Unit_new.GiveVoiceBehaviour-class.html" title="spade.Unit_new.Unit_new.GiveVoiceBehaviour" alt="" coords="29808,822,30080,861"/>
<area shape="rect" id="node126" href="spade.Organization_new.Organization_new.GetUnitInfoBehaviour-class.html" title="spade.Organization_new.Organization_new.GetUnitInfoBehaviour" alt="" coords="30109,822,30485,861"/>
<area shape="rect" id="node127" href="spade.Unit.Unit.SetMinAgentsBehaviour-class.html" title="spade.Unit.Unit.SetMinAgentsBehaviour" alt="" coords="30515,822,30747,861"/>
<area shape="rect" id="node117" href="javascript:void(0);" title="threading._Verbose" alt="" coords="14737,6,14876,50"/>
</map>
  <img src="uml_class_diagram_for_spade_be_3.gif" alt='' usemap="#uml_class_diagram_for_spade_be_3" ismap="ismap" class="graph-without-title" />
</center></div>
  <div class="public" style="display:none"><center>  <map id="uml_class_diagram_for_spade_be_4" name="uml_class_diagram_for_spade_be_4">
<area shape="rect" id="node1" href="spade.Behaviour.FSMBehaviour-class.html" title="this behavior is executed according to a Finite State Machine" alt="" coords="13211,763,13333,802"/>
<area shape="rect" id="node2" href="spade.AMS.AMS.RegisterBehaviour-class.html" title="spade.AMS.AMS.RegisterBehaviour" alt="" coords="347,822,555,861"/>
<area shape="rect" id="node3" href="spade.Organization_new.Organization_new.IsMemberBehaviour-class.html" title="spade.Organization_new.Organization_new.IsMemberBehaviour" alt="" coords="584,822,952,861"/>
<area shape="rect" id="node4" href="spade.Unit.Unit.GetAdminListBehaviour-class.html" title="spade.Unit.Unit.GetAdminListBehaviour" alt="" coords="981,822,1211,861"/>
<area shape="rect" id="node5" href="spade.Organization.Organization.GetUnitInfoBehaviour-class.html" title="spade.Organization.Organization.GetUnitInfoBehaviour" alt="" coords="1240,822,1555,861"/>
<area shape="rect" id="node6" href="spade.Unit.Unit.SetMaxAgentsBehaviour-class.html" title="spade.Unit.Unit.SetMaxAgentsBehaviour" alt="" coords="1584,822,1821,861"/>
<area shape="rect" id="node7" href="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveBanAgentBehaviour" alt="" coords="1851,822,2168,861"/>
<area shape="rect" id="node8" href="spade.RPC.RPCClientBehaviour-class.html" title="spade.RPC.RPCClientBehaviour" alt="" coords="2197,822,2387,861"/>
<area shape="rect" id="node9" href="spade.Unit_new.Unit_new.RevokeVoiceBehaviour-class.html" title="spade.Unit_new.Unit_new.RevokeVoiceBehaviour" alt="" coords="2416,822,2707,861"/>
<area shape="rect" id="node10" href="spade.Unit.Unit.PresenceBehaviour.MinAgentsBehaviour-class.html" title="spade.Unit.Unit.PresenceBehaviour.MinAgentsBehaviour" alt="" coords="2736,822,3064,861"/>
<area shape="rect" id="node11" href="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetNumberOfAgentsBehaviour" alt="" coords="3093,822,3427,861"/>
<area shape="rect" id="node12" href="spade.Unit_new.Unit_new.GetBanAgentListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetBanAgentListBehaviour" alt="" coords="3456,822,3768,861"/>
<area shape="rect" id="node13" href="spade.Unit.Unit.KickAgentBehaviour-class.html" title="spade.Unit.Unit.KickAgentBehaviour" alt="" coords="3797,822,4008,861"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.name" alt="" coords="14492,95,14660,113"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.ident" alt="" coords="14492,113,14660,132"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.daemon" alt="" coords="14492,132,14660,151"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="repr(x)" alt="" coords="14492,153,14660,172"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.start" alt="" coords="14492,172,14660,191"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.join" alt="" coords="14492,191,14660,209"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.isAlive" alt="" coords="14492,209,14660,228"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.is_alive" alt="" coords="14492,228,14660,247"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.isDaemon" alt="" coords="14492,247,14660,265"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.setDaemon" alt="" coords="14492,265,14660,284"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.getName" alt="" coords="14492,284,14660,303"/>
<area shape="rect" id="node212" href="javascript:void(0);" title="threading.Thread.setName" alt="" coords="14492,303,14660,321"/>
<area shape="rect" id="node14" href="javascript:void(0);" title="threading.Thread" alt="" coords="14480,70,14672,327"/>
<area shape="rect" id="node211" href="spade.MessageReceiver.MessageReceiver-class.html#postMessage" title="spade.MessageReceiver.MessageReceiver.postMessage" alt="" coords="14468,380,14684,399"/>
<area shape="rect" id="node65" href="spade.MessageReceiver.MessageReceiver-class.html" title="spade.MessageReceiver.MessageReceiver" alt="" coords="14456,347,14696,405"/>
<area shape="rect" id="node15" href="spade.Platform.SpadePlatform.RouteBehaviour-class.html" title="spade.Platform.SpadePlatform.RouteBehaviour" alt="" coords="13363,763,13635,802"/>
<area shape="rect" id="node16" href="spade.Unit.Unit.TestRoomNameBehaviour-class.html" title="spade.Unit.Unit.TestRoomNameBehaviour" alt="" coords="4037,822,4283,861"/>
<area shape="rect" id="node17" href="spade.Unit_new.Unit_new.GetInfoBehaviour-class.html" title="spade.Unit_new.Unit_new.GetInfoBehaviour" alt="" coords="4312,822,4568,861"/>
<area shape="rect" id="node18" href="spade.fipa.modifyServiceBehaviour-class.html" title="spade.fipa.modifyServiceBehaviour" alt="" coords="4597,822,4800,861"/>
<area shape="rect" id="node19" href="spade.Organization_new.Organization_new.SendRegistrationFormBehaviour-class.html" title="spade.Organization_new.Organization_new.SendRegistrationFormBehaviour" alt="" coords="4829,822,5269,861"/>
<area shape="rect" id="node20" href="spade.fipa.ModifyAgentBehaviour-class.html" title="spade.fipa.ModifyAgentBehaviour" alt="" coords="5299,822,5491,861"/>
<area shape="rect" id="node21" href="spade.Unit_new.Unit_new.SetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.SetGoalBehaviour" alt="" coords="5520,822,5779,861"/>
<area shape="rect" id="node22" href="spade.Organization.Organization.DestroyBehaviour-class.html" title="spade.Organization.Organization.DestroyBehaviour" alt="" coords="5808,822,6101,861"/>
<area shape="rect" id="node23" href="spade.Unit_new.Unit_new.KickAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.KickAgentBehaviour" alt="" coords="6131,822,6403,861"/>
<area shape="rect" id="node24" href="spade.Unit_new.Unit_new.PresenceBehaviour-class.html" title="spade.Unit_new.Unit_new.PresenceBehaviour" alt="" coords="13664,763,13931,802"/>
<area shape="rect" id="node25" href="spade.Unit_new.Unit_new.AddAdminBehaviour-class.html" title="spade.Unit_new.Unit_new.AddAdminBehaviour" alt="" coords="6432,822,6704,861"/>
<area shape="rect" id="node26" href="spade.peer2peer.SendStreamInitiationBehav-class.html" title="spade.peer2peer.SendStreamInitiationBehav" alt="" coords="6733,822,6989,861"/>
<area shape="rect" id="node27" href="spade.Unit_new.Unit_new.SetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMinAgentsBehaviour" alt="" coords="7019,822,7312,861"/>
<area shape="rect" id="node28" href="spade.DF.DF.SearchBehaviour-class.html" title="spade.DF.DF.SearchBehaviour" alt="" coords="7341,822,7520,861"/>
<area shape="rect" id="node29" href="spade.Platform.SpadePlatform.GetMembersBehav-class.html" title="spade.Platform.SpadePlatform.GetMembersBehav" alt="" coords="7549,822,7840,861"/>
<area shape="rect" id="node30" href="spade.Unit_new.Unit_new.GetModeratorListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetModeratorListBehaviour" alt="" coords="7869,822,8181,861"/>
<area shape="rect" id="node31" href="spade.Unit.Unit.RemoveOwnerBehaviour-class.html" title="spade.Unit.Unit.RemoveOwnerBehaviour" alt="" coords="8211,822,8448,861"/>
<area shape="rect" id="node32" href="spade.Organization_new.Organization_new.CreateRoomBehaviour-class.html" title="spade.Organization_new.Organization_new.CreateRoomBehaviour" alt="" coords="8477,822,8861,861"/>
<area shape="rect" id="node33" href="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMaxAgentsBehaviour" alt="" coords="8891,822,9189,861"/>
<area shape="rect" id="node34" href="spade.Unit.Unit.GetGoalBehaviour-class.html" title="spade.Unit.Unit.GetGoalBehaviour" alt="" coords="9219,822,9416,861"/>
<area shape="rect" id="node35" href="spade.Unit_new.Unit_new.MyJoinRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.MyJoinRoomBehaviour" alt="" coords="9445,822,9733,861"/>
<area shape="rect" id="node36" href="spade.Unit_new.Unit_new.CreateRoomBehaviour-class.html" title="spade.Unit_new.Unit_new.CreateRoomBehaviour" alt="" coords="9763,822,10048,861"/>
<area shape="rect" id="node37" href="spade.AMS.AMS.DefaultBehaviour-class.html" title="spade.AMS.AMS.DefaultBehaviour" alt="" coords="13960,763,14163,802"/>
<area shape="rect" id="node38" href="spade.DF.DF.RegisterBehaviour-class.html" title="spade.DF.DF.RegisterBehaviour" alt="" coords="10077,822,10264,861"/>
<area shape="rect" id="node39" href="spade.Unit.Unit.AddAdminBehaviour-class.html" title="spade.Unit.Unit.AddAdminBehaviour" alt="" coords="10293,822,10504,861"/>
<area shape="rect" id="node40" href="spade.Behaviour.EventBehaviour-class.html" title="A behaviour that is executed in response to a certain event." alt="" coords="10533,822,10661,861"/>
<area shape="rect" id="node44" href="spade.RPC.RPCServerBehaviour-class.html" title="spade.RPC.RPCServerBehaviour" alt="" coords="10033,881,10228,919"/>
<area shape="rect" id="node69" href="spade.socialnetwork.RosterBehaviour-class.html" title="spade.socialnetwork.RosterBehaviour" alt="" coords="10257,881,10473,919"/>
<area shape="rect" id="node72" href="spade.peer2peer.DiscoBehaviour-class.html" title="spade.peer2peer.DiscoBehaviour" alt="" coords="10503,881,10692,919"/>
<area shape="rect" id="node109" href="spade.peer2peer.StreamInitiationBehaviour-class.html" title="spade.peer2peer.StreamInitiationBehaviour" alt="" coords="10721,881,10967,919"/>
<area shape="rect" id="node124" href="spade.socialnetwork.PresenceBehaviour-class.html" title="spade.socialnetwork.PresenceBehaviour" alt="" coords="10996,881,11228,919"/>
<area shape="rect" id="node41" href="spade.Organization_new.Organization_new.GetUnitListBehaviour-class.html" title="spade.Organization_new.Organization_new.GetUnitListBehaviour" alt="" coords="10691,822,11067,861"/>
<area shape="rect" id="node42" href="spade.Unit_new.Unit_new.TestRoomNameBehaviour-class.html" title="spade.Unit_new.Unit_new.TestRoomNameBehaviour" alt="" coords="11096,822,11405,861"/>
<area shape="rect" id="node43" href="spade.Organization.Organization.IsMemberBehaviour-class.html" title="spade.Organization.Organization.IsMemberBehaviour" alt="" coords="11435,822,11741,861"/>
<area shape="rect" id="node45" href="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.SetMaxAgentsBehaviour" alt="" coords="11771,822,12069,861"/>
<area shape="rect" id="node46" href="spade.AMS.AMS.ModifyBehaviour-class.html" title="spade.AMS.AMS.ModifyBehaviour" alt="" coords="12099,822,12299,861"/>
<area shape="rect" id="node47" href="spade.Unit.Unit.GetOwnerListBehaviour-class.html" title="spade.Unit.Unit.GetOwnerListBehaviour" alt="" coords="12328,822,12557,861"/>
<area shape="rect" id="node48" href="spade.Organization.Organization.GetRegistrationFormBehaviour-class.html" title="spade.Organization.Organization.GetRegistrationFormBehaviour" alt="" coords="12587,822,12955,861"/>
<area shape="rect" id="node49" href="spade.Organization.Organization-class.html" title="spade.Organization.Organization" alt="" coords="25644,881,25831,919"/>
<area shape="rect" id="node50" href="spade.Behaviour.PeriodicBehaviour-class.html" title="this behavior runs periodically with a period" alt="" coords="14192,763,14333,802"/>
<area shape="rect" id="node92" href="spade.Behaviour.TimeOutBehaviour-class.html" title="this behavior is executed only once after a timeout" alt="" coords="5,822,149,861"/>
<area shape="rect" id="node102" href="spade.bdi.BDIBehaviour-class.html" title="spade.bdi.BDIBehaviour" alt="" coords="179,822,317,861"/>
<area shape="rect" id="node51" href="spade.Unit.Unit.CreateRoomBehaviour-class.html" title="spade.Unit.Unit.CreateRoomBehaviour" alt="" coords="12984,822,13208,861"/>
<area shape="rect" id="node52" href="spade.Unit_new.Unit_new.GetGoalBehaviour-class.html" title="spade.Unit_new.Unit_new.GetGoalBehaviour" alt="" coords="13237,822,13499,861"/>
<area shape="rect" id="node53" href="spade.Unit.Unit.RemoveBanAgentBehaviour-class.html" title="spade.Unit.Unit.RemoveBanAgentBehaviour" alt="" coords="13528,822,13784,861"/>
<area shape="rect" id="node54" href="spade.Organization.Organization.TestRoomNameBehaviour-class.html" title="spade.Organization.Organization.TestRoomNameBehaviour" alt="" coords="13813,822,14157,861"/>
<area shape="rect" id="node55" href="spade.AMS.AMS.SearchBehaviour-class.html" title="spade.AMS.AMS.SearchBehaviour" alt="" coords="14187,822,14387,861"/>
<area shape="rect" id="node56" href="spade.Unit_new.Unit_new.AddBanAgentBehaviour-class.html" title="spade.Unit_new.Unit_new.AddBanAgentBehaviour" alt="" coords="14416,822,14709,861"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="14273,457,14877,476"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#done" title="returns True if the behavior has finished else returns False" alt="" coords="14273,476,14877,495"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#exitCode" title="returns the default exit code for the behavior" alt="" coords="14273,495,14877,513"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#getAgent" title="returns the agent which controls the behavior" alt="" coords="14273,513,14877,532"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#getParent" title="spade.Behaviour.Behaviour.getParent" alt="" coords="14273,532,14877,551"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#kill" title="stops the behavior" alt="" coords="14273,551,14877,569"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#managePresence" title="DEPRECATED manage a FIPA&#45;formed presence message" alt="" coords="14273,569,14877,588"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#onEnd" title="this method runs when the behavior stops" alt="" coords="14273,588,14877,607"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#onStart" title="this method runs when the behavior starts" alt="" coords="14273,607,14877,625"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#registerPresenceHandler" title="DEPRECATED register a handler that will manage all incoming presence &#160;notifications matching the given presence template" alt="" coords="14273,625,14877,644"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#root" title="spade.Behaviour.Behaviour.root" alt="" coords="14273,644,14877,663"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#run" title="spade.Behaviour.Behaviour.run" alt="" coords="14273,663,14877,681"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#setAgent" title="sets the agent which controls the behavior" alt="" coords="14273,681,14877,700"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#setParent" title="spade.Behaviour.Behaviour.setParent" alt="" coords="14273,700,14877,719"/>
<area shape="rect" id="node210" href="spade.Behaviour.Behaviour-class.html#setTemplate" title="Set the message template for this behaviour" alt="" coords="14273,719,14877,737"/>
<area shape="rect" id="node57" href="spade.Behaviour.Behaviour-class.html" title="spade.Behaviour.Behaviour" alt="" coords="14261,425,14888,743"/>
<area shape="rect" id="node68" href="spade.Unit.Unit.PresenceBehaviour-class.html" title="spade.Unit.Unit.PresenceBehaviour" alt="" coords="14363,763,14568,802"/>
<area shape="rect" id="node79" href="spade.DF.DF.DefaultBehaviour-class.html" title="spade.DF.DF.DefaultBehaviour" alt="" coords="14597,763,14779,802"/>
<area shape="rect" id="node93" href="spade.SIMBA.SIMBA.InboxBehaviour-class.html" title="Behaviour that routes incoming SIMBA messages" alt="" coords="14808,763,15027,802"/>
<area shape="rect" id="node94" href="spade.Behaviour.OneShotBehaviour-class.html" title="this behavior is only executed once" alt="" coords="15056,763,15200,802"/>
<area shape="rect" id="node113" href="spade.peer2peer.P2PBehaviour-class.html" title="spade.peer2peer.P2PBehaviour" alt="" coords="15229,763,15411,802"/>
<area shape="rect" id="node114" href="spade.AMS.AMS.DefaultBehaviour.SubscribeBehaviour-class.html" title="spade.AMS.AMS.DefaultBehaviour.SubscribeBehaviour" alt="" coords="15440,763,15763,802"/>
<area shape="rect" id="node119" href="spade.SIMBA.SIMBA.OutboxBehaviour-class.html" title="Behaviour that routes outgoing SIMBA messages" alt="" coords="15792,763,16021,802"/>
<area shape="rect" id="node58" href="spade.Unit.Unit.GetMinAgentsBehaviour-class.html" title="spade.Unit.Unit.GetMinAgentsBehaviour" alt="" coords="14739,822,14971,861"/>
<area shape="rect" id="node59" href="spade.Unit.Unit.RemoveModeratorBehaviour-class.html" title="spade.Unit.Unit.RemoveModeratorBehaviour" alt="" coords="15000,822,15256,861"/>
<area shape="rect" id="node60" href="spade.Unit.Unit.RevokeVoiceBehaviour-class.html" title="spade.Unit.Unit.RevokeVoiceBehaviour" alt="" coords="15285,822,15515,861"/>
<area shape="rect" id="node61" href="spade.DF.DF.ModifyBehaviour-class.html" title="spade.DF.DF.ModifyBehaviour" alt="" coords="15544,822,15720,861"/>
<area shape="rect" id="node62" href="spade.Unit.Unit.RemoveAdminBehaviour-class.html" title="spade.Unit.Unit.RemoveAdminBehaviour" alt="" coords="15749,822,15987,861"/>
<area shape="rect" id="node63" href="spade.Unit_new.Unit_new.GetMemberListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMemberListBehaviour" alt="" coords="16016,822,16317,861"/>
<area shape="rect" id="node64" href="spade.fipa.registerServiceBehaviour-class.html" title="spade.fipa.registerServiceBehaviour" alt="" coords="16347,822,16552,861"/>
<area shape="rect" id="node66" href="spade.Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.PresenceBehaviour.MinAgentsBehaviour" alt="" coords="16581,822,16973,861"/>
<area shape="rect" id="node67" href="spade.AMS.AMS.PlatformBehaviour-class.html" title="spade.AMS.AMS.PlatformBehaviour" alt="" coords="17003,822,17211,861"/>
<area shape="rect" id="node70" href="spade.Unit.Unit.AddModeratorBehaviour-class.html" title="spade.Unit.Unit.AddModeratorBehaviour" alt="" coords="17240,822,17472,861"/>
<area shape="rect" id="node71" href="spade.Organization_new.Organization_new.MyJoinRoomBehaviour-class.html" title="spade.Organization_new.Organization_new.MyJoinRoomBehaviour" alt="" coords="17501,822,17888,861"/>
<area shape="rect" id="node73" href="spade.Unit.Unit.SendPrivateMessageBehaviour-class.html" title="spade.Unit.Unit.SendPrivateMessageBehaviour" alt="" coords="17917,822,18192,861"/>
<area shape="rect" id="node74" href="spade.Unit.Unit.SendMessageBehaviour-class.html" title="spade.Unit.Unit.SendMessageBehaviour" alt="" coords="18221,822,18453,861"/>
<area shape="rect" id="node75" href="spade.fipa.SearchAgentBehaviour-class.html" title="spade.fipa.SearchAgentBehaviour" alt="" coords="18483,822,18677,861"/>
<area shape="rect" id="node76" href="spade.Organization_new.Organization_new.DestroyBehaviour-class.html" title="spade.Organization_new.Organization_new.DestroyBehaviour" alt="" coords="18707,822,19064,861"/>
<area shape="rect" id="node77" href="spade.fipa.getPlatformInfoBehaviour-class.html" title="spade.fipa.getPlatformInfoBehaviour" alt="" coords="19093,822,19301,861"/>
<area shape="rect" id="node78" href="spade.Organization_new.Organization_new.TestRoomNameBehaviour-class.html" title="spade.Organization_new.Organization_new.TestRoomNameBehaviour" alt="" coords="19331,822,19736,861"/>
<area shape="rect" id="node80" href="spade.Organization.Organization.MyJoinRoomBehaviour-class.html" title="spade.Organization.Organization.MyJoinRoomBehaviour" alt="" coords="19765,822,20091,861"/>
<area shape="rect" id="node81" href="spade.Unit_new.Unit_new.GetAdminListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetAdminListBehaviour" alt="" coords="20120,822,20411,861"/>
<area shape="rect" id="node82" href="spade.Unit.Unit.GetInfoBehaviour-class.html" title="spade.Unit.Unit.GetInfoBehaviour" alt="" coords="20440,822,20632,861"/>
<area shape="rect" id="node83" href="spade.Unit_new.Unit_new-class.html" title="spade.Unit_new.Unit_new" alt="" coords="20661,822,20811,861"/>
<area shape="rect" id="node122" href="spade.Organization_new.Organization_new-class.html" title="spade.Organization_new.Organization_new" alt="" coords="20612,881,20860,919"/>
<area shape="rect" id="node84" href="spade.fipa.deregisterServiceBehaviour-class.html" title="spade.fipa.deregisterServiceBehaviour" alt="" coords="20840,822,21061,861"/>
<area shape="rect" id="node85" href="spade.Unit.Unit.MyJoinRoomBehaviour-class.html" title="spade.Unit.Unit.MyJoinRoomBehaviour" alt="" coords="21091,822,21317,861"/>
<area shape="rect" id="node86" href="spade.Organization.Organization.GetUnitListBehaviour-class.html" title="spade.Organization.Organization.GetUnitListBehaviour" alt="" coords="21347,822,21661,861"/>
<area shape="rect" id="node87" href="spade.Unit_new.Unit_new.AddModeratorBehaviour-class.html" title="spade.Unit_new.Unit_new.AddModeratorBehaviour" alt="" coords="21691,822,21984,861"/>
<area shape="rect" id="node88" href="spade.Organization.Organization.CreateTeamBehaviour-class.html" title="spade.Organization.Organization.CreateTeamBehaviour" alt="" coords="22013,822,22333,861"/>
<area shape="rect" id="node89" href="spade.Unit.Unit.DestroyBehaviour-class.html" title="spade.Unit.Unit.DestroyBehaviour" alt="" coords="22363,822,22560,861"/>
<area shape="rect" id="node90" href="spade.Unit_new.Unit_new.GetMinAgentsBehaviour-class.html" title="spade.Unit_new.Unit_new.GetMinAgentsBehaviour" alt="" coords="22589,822,22885,861"/>
<area shape="rect" id="node91" href="spade.Unit_new.Unit_new.RemoveModeratorBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveModeratorBehaviour" alt="" coords="22915,822,23235,861"/>
<area shape="rect" id="node95" href="spade.Organization_new.Organization_new.GetRegistrationFormBehaviour-class.html" title="spade.Organization_new.Organization_new.GetRegistrationFormBehaviour" alt="" coords="23264,822,23696,861"/>
<area shape="rect" id="node96" href="spade.Unit_new.Unit_new.RemoveAdminBehaviour-class.html" title="spade.Unit_new.Unit_new.RemoveAdminBehaviour" alt="" coords="23725,822,24024,861"/>
<area shape="rect" id="node97" href="spade.Unit.Unit.AddBanAgentBehaviour-class.html" title="spade.Unit.Unit.AddBanAgentBehaviour" alt="" coords="24053,822,24283,861"/>
<area shape="rect" id="node98" href="spade.Unit.Unit.GetBanAgentListBehaviour-class.html" title="spade.Unit.Unit.GetBanAgentListBehaviour" alt="" coords="24312,822,24560,861"/>
<area shape="rect" id="node99" href="spade.Unit.Unit.GetMaxAgentsBehaviour-class.html" title="spade.Unit.Unit.GetMaxAgentsBehaviour" alt="" coords="24589,822,24827,861"/>
<area shape="rect" id="node100" href="spade.Unit.Unit.GetModeratorListBehaviour-class.html" title="spade.Unit.Unit.GetModeratorListBehaviour" alt="" coords="24856,822,25107,861"/>
<area shape="rect" id="node101" href="spade.Unit_new.Unit_new.DestroyBehaviour-class.html" title="spade.Unit_new.Unit_new.DestroyBehaviour" alt="" coords="25136,822,25395,861"/>
<area shape="rect" id="node103" href="spade.peer2peer.RequestDiscoInfoBehav-class.html" title="spade.peer2peer.RequestDiscoInfoBehav" alt="" coords="25424,822,25664,861"/>
<area shape="rect" id="node104" href="spade.Unit.Unit-class.html" title="spade.Unit.Unit" alt="" coords="25693,822,25781,861"/>
<area shape="rect" id="node105" href="spade.Unit.Unit.GiveVoiceBehaviour-class.html" title="spade.Unit.Unit.GiveVoiceBehaviour" alt="" coords="25811,822,26021,861"/>
<area shape="rect" id="node106" href="spade.Unit.Unit.GetNumberOfAgentsBehaviour-class.html" title="spade.Unit.Unit.GetNumberOfAgentsBehaviour" alt="" coords="26051,822,26323,861"/>
<area shape="rect" id="node107" href="spade.Organization.Organization.SendRegistrationFormBehaviour-class.html" title="spade.Organization.Organization.SendRegistrationFormBehaviour" alt="" coords="26352,822,26731,861"/>
<area shape="rect" id="node108" href="spade.Unit_new.Unit_new.GetOwnerListBehaviour-class.html" title="spade.Unit_new.Unit_new.GetOwnerListBehaviour" alt="" coords="26760,822,27053,861"/>
<area shape="rect" id="node110" href="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour-class.html" title="spade.Unit_new.Unit_new.SendPrivateMessageBehaviour" alt="" coords="27083,822,27419,861"/>
<area shape="rect" id="node111" href="spade.fipa.searchServiceBehaviour-class.html" title="spade.fipa.searchServiceBehaviour" alt="" coords="27448,822,27651,861"/>
<area shape="rect" id="node112" href="spade.Organization_new.Organization_new.CreateTeamBehaviour-class.html" title="spade.Organization_new.Organization_new.CreateTeamBehaviour" alt="" coords="27680,822,28061,861"/>
<area shape="rect" id="node115" href="spade.Unit.Unit.GetMemberListBehaviour-class.html" title="spade.Unit.Unit.GetMemberListBehaviour" alt="" coords="28091,822,28331,861"/>
<area shape="rect" id="node117" href="spade.Unit.Unit.AddOwnerBehaviour-class.html" title="spade.Unit.Unit.AddOwnerBehaviour" alt="" coords="28360,822,28571,861"/>
<area shape="rect" id="node118" href="spade.Organization.Organization.CreateRoomBehaviour-class.html" title="spade.Organization.Organization.CreateRoomBehaviour" alt="" coords="28600,822,28923,861"/>
<area shape="rect" id="node120" href="spade.Unit_new.Unit_new.SendMessageBehaviour-class.html" title="spade.Unit_new.Unit_new.SendMessageBehaviour" alt="" coords="28952,822,29248,861"/>
<area shape="rect" id="node121" href="spade.Unit.Unit.SetGoalBehaviour-class.html" title="spade.Unit.Unit.SetGoalBehaviour" alt="" coords="29277,822,29475,861"/>
<area shape="rect" id="node123" href="spade.Unit_new.Unit_new.GiveVoiceBehaviour-class.html" title="spade.Unit_new.Unit_new.GiveVoiceBehaviour" alt="" coords="29504,822,29776,861"/>
<area shape="rect" id="node125" href="spade.Organization_new.Organization_new.GetUnitInfoBehaviour-class.html" title="spade.Organization_new.Organization_new.GetUnitInfoBehaviour" alt="" coords="29805,822,30181,861"/>
<area shape="rect" id="node126" href="spade.Unit.Unit.SetMinAgentsBehaviour-class.html" title="spade.Unit.Unit.SetMinAgentsBehaviour" alt="" coords="30211,822,30443,861"/>
<area shape="rect" id="node116" href="javascript:void(0);" title="threading._Verbose" alt="" coords="14507,6,14645,50"/>
</map>
  <img src="uml_class_diagram_for_spade_be_4.gif" alt='' usemap="#uml_class_diagram_for_spade_be_4" ismap="ismap" class="graph-without-title" />
</center></div>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Behaviour.Behaviour-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      x.__init__(...) initializes x; see help(type(x)) for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_process"></a><span class="summary-sig-name">_process</span>(<span class="summary-sig-arg">self</span>)</span><br />
      main loop must be overridden</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour._process">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="done"></a><span class="summary-sig-name">done</span>(<span class="summary-sig-arg">self</span>)</span><br />
      returns True if the behavior has finished else returns False</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.done">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="exitCode"></a><span class="summary-sig-name">exitCode</span>(<span class="summary-sig-arg">self</span>)</span><br />
      returns the default exit code for the behavior</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.exitCode">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getAgent"></a><span class="summary-sig-name">getAgent</span>(<span class="summary-sig-arg">self</span>)</span><br />
      returns the agent which controls the behavior</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.getAgent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getParent"></a><span class="summary-sig-name">getParent</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.getParent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="kill"></a><span class="summary-sig-name">kill</span>(<span class="summary-sig-arg">self</span>)</span><br />
      stops the behavior</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.kill">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="managePresence"></a><span class="summary-sig-name">managePresence</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">frm</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">type</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">status</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">show</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">role</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">affiliation</span>=<span class="summary-sig-default">None</span>)</span><br />
      DEPRECATED manage a FIPA-formed presence message</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.managePresence">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="onEnd"></a><span class="summary-sig-name">onEnd</span>(<span class="summary-sig-arg">self</span>)</span><br />
      this method runs when the behavior stops</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.onEnd">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="onStart"></a><span class="summary-sig-name">onStart</span>(<span class="summary-sig-arg">self</span>)</span><br />
      this method runs when the behavior starts</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.onStart">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="registerPresenceHandler"></a><span class="summary-sig-name">registerPresenceHandler</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">template</span>,
        <span class="summary-sig-arg">handler</span>)</span><br />
      DEPRECATED register a handler that will manage all incoming presence 
      notifications matching the given presence template</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.registerPresenceHandler">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="root"></a><span class="summary-sig-name">root</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.root">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.Behaviour.Behaviour-class.html#run" class="summary-sig-name">run</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.run">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAgent"></a><span class="summary-sig-name">setAgent</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">agent</span>)</span><br />
      sets the agent which controls the behavior</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.setAgent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setParent"></a><span class="summary-sig-name">setParent</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">parent</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.setParent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setTemplate"></a><span class="summary-sig-name">setTemplate</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">template</span>)</span><br />
      Set the message template for this behaviour</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.setTemplate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b>:
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#postMessage">postMessage</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.MessageReceiver.MessageReceiver-class.html">MessageReceiver.MessageReceiver</a></code></b> (private):
      <code><a href="spade.MessageReceiver.MessageReceiver-class.html#_receive" onclick="show_private();">_receive</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>__repr__</code>,
      <code>getName</code>,
      <code>isAlive</code>,
      <code>isDaemon</code>,
      <code>is_alive</code>,
      <code>join</code>,
      <code>setDaemon</code>,
      <code>setName</code>,
      <code>start</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
      <code>_reset_internal_locks</code>,
      <code>_set_daemon</code>,
      <code>_set_ident</code>
      </p></div>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading._Verbose</code></b> (private):
      <code>_note</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="spade.Behaviour.Behaviour-class.html#_exitcode" class="summary-name" onclick="show_private();">_exitcode</a><br />
      def __getattr__(self, aname):
    return self.myAgent.__dict__[aname]
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b>:
      <code>daemon</code>,
      <code>ident</code>,
      <code>name</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>threading.Thread</code></b> (private):
      <code>_block</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="run"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">run</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.Behaviour-pysrc.html#Behaviour.run">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        threading.Thread.run
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== INSTANCE VARIABLE DETAILS ==================== -->
<a name="section-InstanceVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="_exitcode"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">_exitcode</h3>
  <pre class="literalblock">

def __getattr__(self, aname):
    return self.myAgent.__dict__[aname]

def __setattr__(self, aname, value):
    # Base case: aname is defined locally
    if aname in self.__dict__:
        self.__dict__[aname] = value
    # Second case: aname is defined in &quot;myAgent&quot;
    elif &quot;myAgent&quot; in self.__dict__ and self.__dict__[&quot;myAgent&quot;] and aname in self.myAgent.__dict__:
        setattr(self.myAgent, aname, value)
    # Third case: new local declaration
    else:
        self.__dict__[aname] = value

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug  1 18:44:35 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
